<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>x,y</title>
    <style>
        div{
            width:500px;
            height: 500px;
            /*overflow-x: hidden;*/
            overflow-y: auto;
        }
        img{
            width:auto;
            height:400px;
            padding-bottom: 98px;
            background-color: #cad53d;
        }
    </style>
</head>
<body>
<!--谷歌overflow时是算padding值了、。-->
<!---->
<div>
    <img src="../80页之前代码测试/0.jpg"/>
</div>
<script>
   // console.log(window.getComputedStyle())
</script>
</body>
</html>